package rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import bean.Medicament;
import bean.Patient;
import bean.User;

public interface ServeurRmiInterface extends Remote{

	public ArrayList<Patient> liste_patient() throws RemoteException;
	public boolean enregistrer_patient(Patient patient) throws RemoteException;
	public boolean isLog(User user) throws RemoteException;
	public Patient getPatient(int idPatient) throws RemoteException;
	public boolean suprPatient(int idPatient) throws RemoteException;
	public boolean modifier_patient(Patient patient) throws RemoteException;
	public ArrayList<Medicament> liste_medicament() throws RemoteException;
	public User getUser(String login) throws RemoteException;
	public boolean modifier_user(User user) throws RemoteException;
	
}
